<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <title>错误提示</title>
    <style>
        .error-container {
            width: 80%;
            margin: 50px auto;
            text-align: center;
        }
        .error-message {
            color: red;
            font-size: 18px;
            margin: 20px 0;
        }
        .back-link {
            color: #666;
            text-decoration: none;
        }
        .back-link:hover {
            text-decoration: underline;
        }
    </style>
</head>
<body>
    <div class="error-container">
        <h2>操作失败</h2>
        <div class="error-message">${error}</div>
        <p>请求地址：${url}</p>
        <a href="javascript:history.back()" class="back-link">返回上一页</a>
    </div>
</body>
</html> 